package com.hakim.wfb.customer.service;

import com.hakim.wfb.customer.params.recharge.GetUserRechargeWebPageParameter;
import com.hakim.wfb.customer.params.recharge.WalletRechargeParameter;
import com.hakim.wfb.customer.result.recharge.UserRechargeRecordView;
import com.hkfs.fundamental.api.data.ListResultEx;
import com.hkfs.fundamental.api.data.ResultEx;

/**
 * 用户钱包充值
 * Created by Administrator on 2017/8/4.
 */
public interface RechargeService {

    /**
     * 钱包充值
     *
     * @param parameter
     * @return
     */
    ResultEx recharge(WalletRechargeParameter parameter);

    /**
     * 查询用户充值记录
     * @param parameter
     * @return
     */
    ListResultEx<UserRechargeRecordView> queryRechargeRecord(GetUserRechargeWebPageParameter parameter);
}
